package ssm.shopping.filter;

import java.io.IOException;

import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.filter.OncePerRequestFilter;

/**
 * 抽象类oncePerRequestFilter继承自GenericFilterBean，
 * 它保留了GenericFilterBean中的所有方法并对之进行了扩展，
 * 在oncePerRequestFilter中的主要方法是doFilter
 * @author roberthuang
 *
 */
public class OncePerRequestFilterTest extends OncePerRequestFilter {

	@Override
	protected void doFilterInternal(HttpServletRequest request,
			HttpServletResponse response, FilterChain filterChain)
			throws ServletException, IOException {
		// TODO Auto-generated method stub
		
	}

}
